package com.example.innovate.service;


import com.example.innovate.domain.CreatedClassDO;

import java.util.List;

public interface CreatedClassService {


    //添加信息
    CreatedClassDO addCreatedClass(CreatedClassDO createdClassDO);

    //删除信息
    void deleteCreatedClass(int id);

    //修改信息
    CreatedClassDO updateCreatedClass(CreatedClassDO createdClassDO);

    //根据双创班名字查询信息
    List<CreatedClassDO> findCreatedClassByName(String baseName);

    //根据id查找
    CreatedClassDO findCreatedClassById(int id);

    // 根据图片名查找
    CreatedClassDO findByImage(String filename);

    List<CreatedClassDO> findAll(int pageNumber, int pageSize);

    List<CreatedClassDO> findAllByClassName(String className, int pageNumber, int pageSize);


    List<CreatedClassDO> findCreatedClassPage(Integer pageNumber, Integer pageSize, String className, String startTime, String endTime);


}
